package com.lihuinch.ti4j.chap5.demo;

/**
 * 对this的实验，反编译
 * @author lihu
 * @date 2018/1/6
 */
public class ThisTest {
    public void printMsg(String msg) {
        System.out.println(msg);
    }

    public void hasThis() {
        this.printMsg("has this");
    }

    public void noThis() {
        this.printMsg("no this");
    }

    public static void main(String[] args) {
        ThisTest thisTest = new ThisTest();

        thisTest.hasThis();
        thisTest.noThis();
    }

}
